python,python3: define PyBuild/Compile & Py3Build/Compile
authorAlexandru Ardelean <[email protected]>
Tue, 4 Jul 2017 17:58:37 +0000 (20:58 +0300)
committerAlexandru Ardelean <[email protected]>
Fri, 7 Jul 2017 15:07:10 +0000 (18:07 +0300)
commit8db8c927edb277f7ff2c6147530cd28f1e4c5d8c
treed8944b969ec31394522c51a604bb3bda41279434
parent2705d032bb61bb028575a86338b6d9f21230423b
python,python3: define PyBuild/Compile & Py3Build/Compile

Similar to LEDE/OpenWrt's Build/Compile/Default rule,
and other similarities like this.

This should allow Python packages to define
PyBuild/Compile rules to do specific stuff per
package.

The advantage of using these (over just overriding
Build/Compile) is the VARIANT mechanism that is
in place to support packaging both for Python & Python3.

So, PyBuild/Compile will get picked up for the Python
variant build, and Py3Build/Compile will get picked
up for the Python3 variant build.

Signed-off-by: Alexandru Ardelean <[email protected]>
lang/python/python/files/python-package.mk
lang/python/python3/files/python3-package.mk